Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/private key import copy #591

Merged
merged 48 commits into from
Dec 9, 2024
Merged

Feat/private key import copy #591

merged 48 commits into from
Dec 9, 2024

Conversation

zhouxl
Copy link
Collaborator

@zhouxl zhouxl commented Nov 26, 2024

No description provided.

zhouxl added 25 commits August 23, 2024 11:32
# Conflicts:
#	FRW.xcodeproj/project.pbxproj
#	FRW/Resource/en.lproj/Localizable.strings
# Conflicts:
#	FRW.xcodeproj/project.pbxproj
# Conflicts:
#	FRW.xcodeproj/project.pbxproj
#	FRW/App/AppDelegate.swift
#	FRW/App/Env/Prod/Info.plist
#	FRW/Modules/Login/RestoreWalletView.swift
#	FRW/Modules/MultiBackup/Manager/MultiBackupManager.swift
#	FRW/Modules/MultiBackup/View/BackupUploadView.swift
#	FRW/Modules/MultiBackup/ViewModel/BackupUploadViewModel.swift
#	FRW/Modules/Profile/DeveloperMode/DeveloperModeView.swift
#	FRW/Modules/Register/ViewModel/UsernameViewModel.swift
#	FRW/Modules/Wallet/MoveAsset/ViewModel/MoveSingleNFTViewModel.swift
#	FRW/Resource/en.lproj/Localizable.strings
#	FRW/Services/Manager/LocalUserDefaults.swift
#	FRW/Services/Manager/TransactionManager.swift
#	FRW/Services/Manager/UserManager.swift
#	FRW/Services/Manager/WalletConnect/WalletConnect+SyncDevice.swift
#	FRW/Services/Manager/WalletManager.swift
#	FRW/Services/Router/RouteMap.swift
#	FRW/UI/Extension/String.swift
# Conflicts:
#	FRW/Modules/Browser/BrowserViewController.swift
#	FRW/Modules/Login/RestoreWalletView.swift
#	FRW/Modules/Migration/Migration.swift
#	FRW/Modules/MultiBackup/Manager/MultiBackupManager.swift
#	FRW/Modules/MultiBackup/View/RecoveryPhraseBackupResultView.swift
#	FRW/Modules/MultiBackup/View/ShowRecoveryPhraseBackup.swift
#	FRW/Modules/MultiRestore/ViewModel/RestoreMultiAccountViewModel.swift
#	FRW/Modules/NFT/NFTDetailPage.swift
#	FRW/Modules/Profile/DeveloperMode/KeychainListViewModel.swift
#	FRW/Modules/TrustProvider/TrustJSMessageHandler.swift
#	FRW/Modules/Wallet/AddToken/AddTokenViewModel.swift
#	FRW/Modules/Wallet/Card/CardBackground.swift
#	FRW/Modules/Wallet/CustomToken/AddTokenSheetView.swift
#	FRW/Modules/Wallet/CustomToken/CustomTokenManager.swift
#	FRW/Modules/Wallet/MoveAsset/MoveAccountsView.swift
#	FRW/Modules/Wallet/MoveAsset/ViewModel/MoveTokenViewModel.swift
#	FRW/Modules/Wallet/Send/WalletSendViewModel.swift
#	FRW/Modules/Wallet/WalletViewModel.swift
#	FRW/Services/Cache/CoinRateCache.swift
#	FRW/Services/FlowCoin/CadenceManager.swift
#	FRW/Services/Manager/Backup/Target/BackupGDTarget.swift
#	FRW/Services/Manager/ChildAccountAccessibleManager.swift
#	FRW/Services/Manager/LocalUserDefaults.swift
#	FRW/Services/Manager/UserManager.swift
#	FRW/Services/Manager/WalletConnect/WalletConnectFlowHandler.swift
#	FRW/Services/Manager/WalletManager.swift
#	FRW/Services/Network/FlowNetwork.swift
#	FRW/Services/Track/EventTrack+Transaction.swift
#	FRW/Services/Track/EventTrackName.swift
#	FRW/Tools/ThirdParty/FluidGradient/BlobLayer.swift
#	FRW/Tools/ThirdParty/FluidGradient/FluidGradient.swift
#	FRW/Tools/ThirdParty/FluidGradient/FluidGradientView.swift
#	FRW/Tools/ThirdParty/FluidGradient/ResizableLayer.swift
#	FRW/Tools/ThirdParty/PopupView/PopupViewUtils.swift
#	FRW/Tools/ThirdParty/ProgressHUD/ProgressHUD.swift
#	FRW/Tools/ThirdParty/SPQRCode/Interface/SPQRCameraController.swift
#	FRW/Tools/ThirdParty/SPQRCode/Interface/SPQRMaskView.swift
#	FRW/UI/Component/SectionItem.swift
#	FRW/UI/Extension/Others.swift
# Conflicts:
#	FRW.xcodeproj/project.pbxproj
#	FRW/App/AppDelegate.swift
#	FRW/Modules/Backup/ViewModel/ManualBackupViewModel.swift
#	FRW/Modules/ChildAccount/ChildAccountLinkViewModel.swift
#	FRW/Modules/Domain/ClaimDomainViewModel.swift
#	FRW/Modules/EVM/ViewModel/EVMEnableViewModel.swift
#	FRW/Modules/Explore/ViewModel/ExploreTabViewModel.swift
#	FRW/Modules/Inbox/InboxViewModel.swift
#	FRW/Modules/Login/ViewModel/SyncConfirmViewModel.swift
#	FRW/Modules/MultiBackup/Manager/Target/MultiBackupGoogleDriveTarget.swift
#	FRW/Modules/MultiBackup/Manager/Target/MultiBackupiCloudTarget.swift
#	FRW/Modules/MultiBackup/View/BackupUploadView.swift
#	FRW/Modules/MultiBackup/View/IntroductionView.swift
#	FRW/Modules/MultiBackup/ViewModel/MultiBackupDetailViewModel.swift
#	FRW/Modules/NFT/UIKit/NFTUIKitListDataSource.swift
#	FRW/Modules/NFT/UIKit/View/Collection/NFTUIKitCollectionHContainerView.swift
#	FRW/Modules/NFT/UIKit/View/Fav/NFTUIKitFavContainerView.swift
#	FRW/Modules/Profile/AddressBook/Add/AddAddressViewModel.swift
#	FRW/Modules/Profile/AddressBook/AddressBookView.swift
#	FRW/Modules/Profile/AddressBook/AddressBookViewModel.swift
#	FRW/Modules/Profile/Devices/DevicesInfoViewModel.swift
#	FRW/Modules/Secure/ViewModel/VerifyPinViewModel.swift
#	FRW/Modules/Staking/StakeAmount/StakeAmountViewModel.swift
#	FRW/Modules/Staking/StakingDetail/StakingDetailViewModel.swift
#	FRW/Modules/Swap/SwapViewModel.swift
#	FRW/Modules/Transaction/TransactionHolderView.swift
#	FRW/Modules/Transaction/TransactionListView.swift
#	FRW/Modules/TransactionList/View/FlowTransactionViewMoreFooter.swift
#	FRW/Modules/TrustProvider/TrustProvider.swift
#	FRW/Modules/Wallet/AddToken/AddTokenView.swift
#	FRW/Modules/Wallet/Send/WalletSendAmountView.swift
#	FRW/Modules/Wallet/WalletView.swift
#	FRW/SDK/WallectSecureEnclaveStore.swift
#	FRW/Services/Cache/CurrencyCache.swift
#	FRW/Services/Cache/NFTUIKitCache.swift
#	FRW/Services/FlowCoin/FlowAddressRegistor.swift
#	FRW/Services/Manager/Backup/BackupManager.swift
#	FRW/Services/Manager/Backup/Helper/GoogleDriveAPI.swift
#	FRW/Services/Manager/Backup/Helper/iCloudAPI.swift
#	FRW/Services/Manager/Backup/Target/BackupiCloudTarget.swift
#	FRW/Services/Manager/BalanceProvider.swift
#	FRW/Services/Manager/EVMAccountManager.swift
#	FRW/Services/Manager/PushHandler.swift
#	FRW/Services/Manager/StakingManager.swift
#	FRW/Services/Manager/TransactionManager.swift
#	FRW/Services/Manager/WalletConnect/WalletConnect+SyncDevice.swift
#	FRW/Services/Manager/WalletConnect/WalletConnectChildHandlerProtocol.swift
#	FRW/Services/Network/AlchemyEndpoint.swift
#	FRW/Services/Network/FRW/FRWAPI+User.swift
#	FRW/Services/Network/FRW/Model/Request/UserRequests.swift
#	FRW/Services/Network/FRW/Model/Response/FlownsResponses.swift
#	FRW/Services/Network/FRW/Model/Response/NFTListResponse.swift
#	FRW/Services/Network/FRW/Model/Response/OtherResponses.swift
#	FRW/Tools/ThirdParty/PopupView/FullscreenPopup.swift
#	FRW/Tools/ThirdParty/PopupView/PopupView.swift
#	FRW/Tools/ThreadSafeDictionary.swift
#	FRW/UI/Animation/LottieButton.swift
#	FRW/UI/Component/PresentHostingController.swift
#	FRW/UI/UIKit/DOFavoriteButton.swift
#	FRWNotificationServiceExtension/NotificationService.swift
#	FRWTests/FlowReferenceWalletTests.swift
#	FRWWidgets/FlowReferenceWalletWidgets.swift
Copy link

gitguardian bot commented Nov 26, 2024

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
9474120 Triggered Generic Password ab01b61 FRW/Modules/MultiRestore/ViewModel/RestoreMultiConnectViewModel.swift View secret
9474120 Triggered Generic Password ab01b61 FRW/Modules/MultiRestore/ViewModel/RestoreMultiConnectViewModel.swift View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@zhouxl zhouxl requested review from lmcmz and jeden November 26, 2024 13:18
@zhouxl zhouxl linked an issue Nov 29, 2024 that may be closed by this pull request
18 tasks
# Conflicts:
#	FRW.xcodeproj/project.pbxproj
@lmcmz lmcmz dismissed jeden’s stale review December 9, 2024 13:45

Let‘s don't block the feature

@zhouxl zhouxl merged commit 26e4780 into develop Dec 9, 2024
1 check failed
@zhouxl zhouxl deleted the feat/private-key-import-copy branch December 9, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

[TESTING] IOS private key function
3 participants